%p
%hr
%form{:method => 'POST', :action => "/projects/#{@project.id}/get_customer_by_token_v2" }
  = hidden_field_tag :authenticity_token, form_authenticity_token
  %p
  open_api_token
  %input{:type => 'text',:name => 'open_api_token',  :value => @rds[:open_api_token] || "abc"}
  email 
  %input{:type => 'text',:name => 'custome_email',  :value => @rds[:custome_email] || ""}
  customer_id
  %input{:type => 'text',:name => 'customer_id',  :value => @rds[:customer_id] || ""}
  %p
  customer_cellphone
  %input{:type => 'text',:name => 'customer_cellphone',  :value => @rds[:customer_cellphone] || ""}
  customer_weixin_open_id
  %input{:type => 'text',:name => 'customer_weixin_open_id',  :value => @rds[:customer_weixin_open_id] || ""}
  %p
  customer_weibo_id
  %input{:type => 'text',:name => 'customer_weibo_id',  :value => @rds[:customer_weibo_id] || ""}
  customer_search_type 
  %input{:type => 'text',:name => 'customer_search_type',  :value => @rds[:customer_search_type] || "token"}
  %p
  %input{:type => 'submit', :value => '请求'}
%p
= "#{@rds[:customer_id]}"
%p
= "#{@rds[:customer_error]}"
%p
= "#{@rds[:customer]}"
%p
%hr
